package com.wicket.okrcomponent.biz.service.dto.common;

import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc AngleScreenDto
 * @使用场景
 */
@Data
public class AngleScreenDto extends BaseDto implements Serializable {

  /**
   * 视角筛选条件标识
   */
  @ApiModelProperty("视角筛选条件标识")
  private String angleScreenCode;

  /**
   * 视角筛选条件名称
   */
  @ApiModelProperty("视角筛选条件名称")
  private String angleScreenName;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      AngleScreenDto that = (AngleScreenDto) o;
      return  angleScreenCode == that.angleScreenCode&&angleScreenName == that.angleScreenName;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), angleScreenCode,angleScreenName);
    }

}
